# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Gui\SCArrayDialog.ui'
#
# Created: Fri Feb 19 17:06:40 2010
#      by: PyQt4 UI code generator 4.5.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SCArrayDialog(object):
    def setupUi(self, SCArrayDialog):
        SCArrayDialog.setObjectName("SCArrayDialog")
        SCArrayDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        SCArrayDialog.resize(606, 602)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(SCArrayDialog.sizePolicy().hasHeightForWidth())
        SCArrayDialog.setSizePolicy(sizePolicy)
        SCArrayDialog.setMinimumSize(QtCore.QSize(280, 370))
        SCArrayDialog.setSizeGripEnabled(True)
        SCArrayDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(SCArrayDialog)
        self.gridLayout.setContentsMargins(2, 2, 2, 9)
        self.gridLayout.setObjectName("gridLayout")
        self.arrayView = SCArrayView(SCArrayDialog)
        self.arrayView.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        self.arrayView.setSelectionMode(QtGui.QAbstractItemView.ContiguousSelection)
        self.arrayView.setObjectName("arrayView")
        self.arrayView.horizontalHeader().setDefaultSectionSize(85)
        self.arrayView.verticalHeader().setDefaultSectionSize(18)
        self.gridLayout.addWidget(self.arrayView, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(SCArrayDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(SCArrayDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SCArrayDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SCArrayDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SCArrayDialog)

    def retranslateUi(self, SCArrayDialog):
        SCArrayDialog.setWindowTitle(QtGui.QApplication.translate("SCArrayDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))

from SimpleCells.Components.List.SCArrayView import SCArrayView

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SCArrayDialog = QtGui.QDialog()
    ui = Ui_SCArrayDialog()
    ui.setupUi(SCArrayDialog)
    SCArrayDialog.show()
    sys.exit(app.exec_())

